package com.systemframework.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author summer
 * @date 2023-03-10 10:12
 */
@Data
@TableName(value = "sys_menu")
public class SysMenu implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String title;

    private String name;

    private Integer pid;

    private String path;

    /**
     * 组件
     */
    private String component;

    private String redirect;

    private String icon;

    private Integer type;


    private String permission;
}
